#ifndef GEOMETRY_POLYGON_HPP
#define GEOMETRY_POLYGON_HPP

#include <vector>
#include <stdexcept>

namespace geometry {

class Polygon {
public:
    Polygon(const std::vector<std::pair<double, double>>& vertices);
    double getArea() const;

private:
    std::vector<std::pair<double, double>> vertices_;
};

} // namespace geometry

#endif // GEOMETRY_POLYGON_HPP